
#ifndef _TTG_THREADS_WIN32_WIN32CLOCK_
#define _TTG_THREADS_WIN32_WIN32CLOCK_
#include "Common/Definitions.h"

#include "../Clock.h"

namespace ttg
{
	namespace threads
	{
		namespace win32
		{
			//Essence, that provides current time.
			class Win32Clock :public ttg_internal::threads::Clock
			{
				private:
					double c;
				public:
					Win32Clock();
					//Returns current time in seconds.
					//Note: it should be used only for time interval measuring. Not for absolute time.
					virtual double getSeconds();
					//For descendants.
					virtual ~Win32Clock();
			};
		}
	}
}

namespace ttg
{
	namespace threads
	{
		//Defenition of right version.
		typedef win32::Win32Clock Clock;
	}
}

#endif
